package com.ruoyi.system.wnjk.domain.po;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 医院信息对象 wnjk_hospital
 * 
 * @author ruoyi
 * @date 2025-03-06
 */
public class WnjkHospital extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医院ID */
    private Long id;

    /** 医院名称 */
    @Excel(name = "医院名称")
    private String name;

    /** 医院Logo图片URL */
    @Excel(name = "医院Logo图片URL")
    private String logo;

    /** 医院地址 */
    @Excel(name = "医院地址")
    private String address;

    /** 医院类型 */
    @Excel(name = "医院类型")
    private String hospitalType;

    /** 医院等级 */
    @Excel(name = "医院等级")
    private String hospitalLevel;

    /** 是否上线（0:下线，1:上线） */
    @Excel(name = "是否上线", readConverterExp = "0=:下线，1:上线")
    private Integer isOnline;

    /** 医院服务标签，多个标签用逗号分隔，如"在线预约,随时退,在线报告" */
    @Excel(name = "医院服务标签，多个标签用逗号分隔，如“在线预约,随时退,在线报告”")
    private String serviceTags;

    /** 医院介绍 */
    @Excel(name = "医院介绍")
    private String introduction;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLogo(String logo) 
    {
        this.logo = logo;
    }

    public String getLogo() 
    {
        return logo;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setHospitalType(String hospitalType) 
    {
        this.hospitalType = hospitalType;
    }

    public String getHospitalType() 
    {
        return hospitalType;
    }
    public void setHospitalLevel(String hospitalLevel) 
    {
        this.hospitalLevel = hospitalLevel;
    }

    public String getHospitalLevel() 
    {
        return hospitalLevel;
    }
    public void setIsOnline(Integer isOnline) 
    {
        this.isOnline = isOnline;
    }

    public Integer getIsOnline() 
    {
        return isOnline;
    }
    public void setServiceTags(String serviceTags) 
    {
        this.serviceTags = serviceTags;
    }

    public String getServiceTags() 
    {
        return serviceTags;
    }
    public void setIntroduction(String introduction) 
    {
        this.introduction = introduction;
    }

    public String getIntroduction() 
    {
        return introduction;
    }
    public void setCreatedAt(Date createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Date getCreatedAt() 
    {
        return createdAt;
    }
    public void setUpdatedAt(Date updatedAt) 
    {
        this.updatedAt = updatedAt;
    }

    public Date getUpdatedAt() 
    {
        return updatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("logo", getLogo())
            .append("address", getAddress())
            .append("hospitalType", getHospitalType())
            .append("hospitalLevel", getHospitalLevel())
            .append("isOnline", getIsOnline())
            .append("serviceTags", getServiceTags())
            .append("introduction", getIntroduction())
            .append("createdAt", getCreatedAt())
            .append("updatedAt", getUpdatedAt())
            .toString();
    }
}